ResourceLoaderLanguageDataModule: Clean up useless methods and fragile state
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 30 Apr 2014 21:45:13 +0000 (23:45 +0200)
committerKrinkle <krinklemail@gmail.com>
Wed, 30 Apr 2014 21:48:16 +0000 (21:48 +0000)
commit277cfd5a5515752a3f5e2b8bc787158d0a915a9d
treecc823a723b936872bc59c3d1a9a53800a3659f33
parent6970de209d1584f617d4ccbae5175422412e1de0
ResourceLoaderLanguageDataModule: Clean up useless methods and fragile state

ResourceLoaderModule methods that need context should use context.
Setting a temporary property and then calling a bunch of methods
seems a bit fragile.

Though the actual instance could be passed around instead, in this
case the methods don't seem very useful. They're one-liner wrappers
that can just as well be done directly. It's not like we need the
abstraction for anything.

Follows-up f47dfe9.

Change-Id: I2f2f57896002fba87dc581dca61f5760ea5db31e
includes/resourceloader/ResourceLoaderLanguageDataModule.php